package com.letoken.platform.repo.ecommerce.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品详情
 * </p>
 *
 * @author author
 * @since 2023-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ecommerce_product_detail")
@ApiModel(value="EcommerceProductDetail对象", description="商品详情")
public class EcommerceProductDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品ID")
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @ApiModelProperty(value = "副标题")
    private String assistantTitle;

    @ApiModelProperty(value = "主图图片，限制6张，已逗号分隔")
    private String albumPics;

    @ApiModelProperty(value = "商品重量，默认为克")
    private Integer weight;

    @ApiModelProperty(value = "销量")
    private Integer sale;

    @ApiModelProperty(value = "是否免运费 1是 2否")
    private Integer freeShipping;
//
//    @ApiModelProperty(value = "运费")
//    private BigDecimal shipping;

    @ApiModelProperty(value = "图文详情描述")
    private String graphicDetails;

    @ApiModelProperty(value = "运费模板ID")
    private Integer templateId;


}
